import request from '@/utils/request'
//  获取流程列表
export function getList(data: any) {
  return request({
    url: '/WF_WorkFlow/GetPageData',
    method: 'post',
    data,
  })
}

//  获取删除列表
export function deleteList(data: any) {
  return request({
    url: '/WF_WorkFlow/delwf',
    method: 'post',
    data,
  })
}

//  添加保存流程
export function addSaveList(data: any) {
  return request({
    url: '/WF_WorkFlow/savewf',
    method: 'post',
    data,
  })
}

//  获取流程模板详情
export function WorkFlowGetwfinfo(data: any) {
  return request({
    url: '/WF_WorkFlow/getwfinfo',
    method: 'post',
    data,
  })
}

//  获取人员列表
export function GetPageData(data: any) {
  return request({
    url: '/Base_User/GetPageData',
    method: 'post',
    data,
  })
}

//  获取入库订单管理数据
export function BillMasterList(data: any) {
  return request({
    url: '/Wms_IncomeBillMaster/GetPageData',
    method: 'post',
    data,
  })
}

//  获取删除入库订单管理数据
export function delibm(data: any) {
  return request({
    url: '/Wms_IncomeBillMaster/DelData',
    method: 'post',
    data,
  })
}

//  获取入库订单管理数据详情
export function GetDetailPageData(data: any) {
  return request({
    url: '/Wms_IncomeBillMaster/GetDetailPageData',
    method: 'post',
    data,
  })
}

//  获取编辑入库订单管理数据详情
export function UpdateData(data: any) {
  return request({
    url: '/Wms_IncomeBillMaster/UpdateData',
    method: 'post',
    data,
  })
}

//  获取添加入库订单管理数据详情
export function AddData(data: any) {
  return request({
    url: '/Wms_IncomeBillMaster/AddData',
    method: 'post',
    data,
  })
}

//  获取物资数据列表
export function WmsGetPageData(data: any) {
  return request({
    url: '/Wms_Item/GetPageData',
    method: 'post',
    data,
  })
}

//  获取合同信息数据列表
export function agreePageData(data: any) {
  return request({
    url: '/W_Contract/GetPageData',
    method: 'post',
    data,
  })
}

//  删除合同信息数据
export function agreeDelc(data: any) {
  return request({
    url: '/W_Contract/delc',
    method: 'post',
    data,
  })
}

//  新增合同信息数据
export function addAgreements(data: any) {
  return request({
    url: '/W_Contract/savec',
    method: 'post',
    data,
  })
}

//  获取合同附件信息
export function WF_DocumentList(data: any) {
  return request({
    url: '/WF_Document/GetList',
    method: 'post',
    data,
  })
}

//  删除合同附件信息
export function WF_Documentdeldoc(data: any) {
  return request({
    url: '/WF_Document/deldoc',
    method: 'post',
    data,
  })
}

//  获取采购订单数据列表
export function Wms_PurchaseList(data: any) {
  return request({
    url: '/Wms_PurchaseOrderMaster/GetPageData',
    method: 'post',
    data,
  })
}

//  删除采购订单数据
export function Wms_PurchaseDel(data: any) {
  return request({
    url: '/Wms_PurchaseOrderMaster/DelData',
    method: 'post',
    data,
  })
}

//  获取供应商数据
export function Wms_SupplierData(data: any) {
  return request({
    url: '/Wms_Supplier/GetPageData',
    method: 'post',
    data,
  })
}

//  获取采购单明细详情
export function Wms_PurchaseDaetail(data: any) {
  return request({
    url: '/Wms_PurchaseOrderMaster/GetDetailPageData',
    method: 'post',
    data,
  })
}

//  采购订单编辑
export function UpdatePurchaseOrder(data: any) {
  return request({
    url: '/Wms_PurchaseOrderMaster/UpdateData',
    method: 'post',
    data,
  })
}

//  采购订单编辑
export function AddPurchaseOrder(data: any) {
  return request({
    url: '/Wms_PurchaseOrderMaster/AddData',
    method: 'post',
    data,
  })
}

//  到货预报列表数据
export function ArrivalData(data: any) {
  return request({
    url: '/Wms_ArrivalForecastMaster/GetPageData',
    method: 'post',
    data,
  })
}

//  删除到货预报列表数据
export function ArrivalDel(data: any) {
  return request({
    url: '/Wms_ArrivalForecastMaster/DelData',
    method: 'post',
    data,
  })
}

//  到货预报详情
export function ArrivalDetail(data: any) {
  return request({
    url: '/Wms_ArrivalForecastMaster/GetDetailPageData',
    method: 'post',
    data,
  })
}

//  新增到货预报订单
export function AddArrival(data: any) {
  return request({
    url: '/Wms_ArrivalForecastMaster/AddData',
    method: 'post',
    data,
  })
}

//  编辑到货预报订单
export function UpdataArrival(data: any) {
  return request({
    url: '/Wms_ArrivalForecastMaster/UpdateData',
    method: 'post',
    data,
  })
}

//  到货准备列表数据
export function ArrivalPreparationData(data: any) {
  return request({
    url: '/Wms_ArrivalPreparationMaster/GetPageData',
    method: 'post',
    data,
  })
}

//  删除到货准备列表数据
export function ArrivalPreparationDel(data: any) {
  return request({
    url: '/Wms_ArrivalPreparationMaster/DelData',
    method: 'post',
    data,
  })
}

//  到货准备详情
export function ArrivalPreparationDetail(data: any) {
  return request({
    url: '/Wms_ArrivalPreparationMaster/GetDetailPageData',
    method: 'post',
    data,
  })
}

//  新增到货准备订单
export function AddArrivalPreparation(data: any) {
  return request({
    url: '/Wms_ArrivalPreparationMaster/AddData',
    method: 'post',
    data,
  })
}

//  编辑到货准备订单
export function UpdataArrivalPreparation(data: any) {
  return request({
    url: '/Wms_ArrivalPreparationMaster/UpdateData',
    method: 'post',
    data,
  })
}

//  到货通知单订单数据
export function ArrivalNoticeData(data: any) {
  return request({
    url: '/Wms_ArrivalNotice/GetPageData',
    method: 'post',
    data,
  })
}

//  查询货通知单订单数据明细
export function searchArrivalNoticeDetail(data: any) {
  return request({
    url: '/Wms_ArrivalNotice/GetPOMPageData',
    method: 'post',
    data,
  })
}

//  添加到货通知订单
export function saveanArrivalNotice(data: any) {
  return request({
    url: '/Wms_ArrivalNotice/savean',
    method: 'post',
    data,
  })
}

//  删除货通知订单
export function deleArrivalNotice(data: any) {
  return request({
    url: '/Wms_ArrivalNotice/delan',
    method: 'post',
    data,
  })
}

// 获取货通知订单详情
export function ArrivalNoticeDetail(data: any) {
  return request({
    url: '/Wms_ArrivalNotice/getan',
    method: 'post',
    data,
  })
}

// 调度派工管理列表
export function DispatchOrderData(data: any) {
  return request({
    url: '/Wms_DispatchOrderMaster/GetPageData',
    method: 'post',
    data,
  })
}

// 新增度派工管理列表
export function AddDispatchOrder(data: any) {
  return request({
    url: '/Wms_DispatchOrderMaster/AddData',
    method: 'post',
    data,
  })
}

// 编辑度派工管理列表
export function UpdateDispatchOrder(data: any) {
  return request({
    url: '/Wms_DispatchOrderMaster/UpdateData',
    method: 'post',
    data,
  })
}

// 删除度派工管理列表
export function DelDispatchOrder(data: any) {
  return request({
    url: '/Wms_DispatchOrderMaster/DelData',
    method: 'post',
    data,
  })
}

// 调度派工详情
export function DispatchOrderDetail(data: any) {
  return request({
    url: '/Wms_DispatchOrderMaster/GetDetailPageData',
    method: 'post',
    data,
  })
}

// 到货确认订单列表
export function ArrivalConfirmData(data: any) {
  return request({
    url: '/Wms_ArrivalConfirmMaster/GetPageData',
    method: 'post',
    data,
  })
}

// 删除到货确认订单列表
export function DelArrivalConfirm(data: any) {
  return request({
    url: '/Wms_ArrivalConfirmMaster/DelData',
    method: 'post',
    data,
  })
}

// 新增到货确认订单列表
export function AddArrivalConfirm(data: any) {
  return request({
    url: '/Wms_ArrivalConfirmMaster/AddData',
    method: 'post',
    data,
  })
}

// 编辑到货确认订单列表
export function UpdateArrivalConfirm(data: any) {
  return request({
    url: '/Wms_ArrivalConfirmMaster/UpdateData',
    method: 'post',
    data,
  })
}

// 到货确认订单详情
export function ArrivalConfirmDetail(data: any) {
  return request({
    url: '/Wms_ArrivalConfirmMaster/GetDetailPageData',
    method: 'post',
    data,
  })
}

// 物资验收单列表
export function ItemAcceptanceData(data: any) {
  return request({
    url: '/Wms_ItemAcceptanceMaster/GetPageData',
    method: 'post',
    data,
  })
}

// 删除物资验收单
export function DelItemAcceptance(data: any) {
  return request({
    url: '/Wms_ItemAcceptanceMaster/DelData',
    method: 'post',
    data,
  })
}

// 物资验收单详情
export function ItemAcceptanceDetail(data: any) {
  return request({
    url: '/Wms_ItemAcceptanceMaster/GetDetailPageData',
    method: 'post',
    data,
  })
}

// 新增物资验收单
export function AddItemAcceptance(data: any) {
  return request({
    url: '/Wms_ItemAcceptanceMaster/AddData',
    method: 'post',
    data,
  })
}

// 编辑物资验收单
export function UpdateItemAcceptance(data: any) {
  return request({
    url: '/Wms_ItemAcceptanceMaster/UpdateData',
    method: 'post',
    data,
  })
}

// 领料凭证单列表
export function pickOrderData(data: any) {
  return request({
    url: '/Wms_PickOrderMaster/GetPageData',
    method: 'post',
    data,
  })
}

// 删除领料凭证单列表数据
export function DelpickOrderData(data: any) {
  return request({
    url: '/Wms_PickOrderMaster/DelData',
    method: 'post',
    data,
  })
}

// 领料凭证单详情
export function PickOrderDetail(data: any) {
  return request({
    url: '/Wms_PickOrderMaster/GetDetailPageData',
    method: 'post',
    data,
  })
}

// 新增领料凭证单
export function AddPickOrder(data: any) {
  return request({
    url: '/Wms_PickOrderMaster/AddData',
    method: 'post',
    data,
  })
}

// 编辑领料凭证单
export function UpdatePickOrder(data: any) {
  return request({
    url: '/Wms_PickOrderMaster/UpdateData',
    method: 'post',
    data,
  })
}

// 物资出库单列表数据
export function OutboundBillData(data: any) {
  return request({
    url: '/Wms_OutboundBillMaster/GetPageData',
    method: 'post',
    data,
  })
}

// 物资出库单详情
export function OutboundBillDetail(data: any) {
  return request({
    url: '/Wms_OutboundBillMaster/GetDetailPageData',
    method: 'post',
    data,
  })
}

// 删除物资出库单
export function DelOutboundBill(data: any) {
  return request({
    url: '/Wms_OutboundBillMaster/DelData',
    method: 'post',
    data,
  })
}

// 添加物资出库单
export function AddOutboundBill(data: any) {
  return request({
    url: '/Wms_OutboundBillMaster/AddData',
    method: 'post',
    data,
  })
}

// 编辑物资出库单
export function UpdateOutboundBill(data: any) {
  return request({
    url: '/Wms_OutboundBillMaster/UpdateData',
    method: 'post',
    data,
  })
}

// 系统日志列表
export function Sys_LogData(data: any) {
  return request({
    url: '/Sys_Log/GetPageData',
    method: 'post',
    data,
  })
}

// 系统日志详情
export function Sys_LogDetail(data: any) {
  return request({
    url: '/Sys_Log/getsyslog',
    method: 'post',
    data,
  })
}

// 出库通知列表数据
export function OutboundNoticeData(data: any) {
  return request({
    url: '/Wms_OutboundNoticeMaster/GetPageData',
    method: 'post',
    data,
  })
}

// 出库通知详情
export function OutboundNoticeDetail(data: any) {
  return request({
    url: '/Wms_OutboundNoticeMaster/GetDetailPageData',
    method: 'post',
    data,
  })
}

// 删除出库通知
export function OutboundNoticeDel(data: any) {
  return request({
    url: '/Wms_OutboundNoticeMaster/DelData',
    method: 'post',
    data,
  })
}

// 编辑出库通知详情
export function UpdateOutboundNotice(data: any) {
  return request({
    url: '/Wms_OutboundNoticeMaster/UpdateData',
    method: 'post',
    data,
  })
}

// 添加出库通知详情
export function AddOutboundNotice(data: any) {
  return request({
    url: '/Wms_OutboundNoticeMaster/AddData',
    method: 'post',
    data,
  })
}

// 配送计划列表
export function DeliveryPlanData(data: any) {
  return request({
    url: '/Wms_DeliveryPlan/GetPageData',
    method: 'post',
    data,
  })
}

// 删除配送计划
export function DeliveryPlanDel(data: any) {
  return request({
    url: '/Wms_DeliveryPlan/deldp',
    method: 'post',
    data,
  })
}

// 配送计划详情
export function DeliveryPlanDetail(data: any) {
  return request({
    url: '/Wms_DeliveryPlan/getdp',
    method: 'post',
    data,
  })
}

// 添加配送计划
export function AddDeliveryPlan(data: any) {
  return request({
    url: '/Wms_DeliveryPlan/savedp',
    method: 'post',
    data,
  })
}

// 配送清单
export function DeliveryList(data: any) {
  return request({
    url: '/Wms_DeliveryListMaster/GetPageData',
    method: 'post',
    data,
  })
}

// 配送清单详情
export function DeliveryDetail(data: any) {
  return request({
    url: '/Wms_DeliveryListMaster/GetDetailPageData',
    method: 'post',
    data,
  })
}

// 删除配送清单
export function DeliveryDel(data: any) {
  return request({
    url: '/Wms_DeliveryListMaster/DelData',
    method: 'post',
    data,
  })
}

// 编辑配送清单
export function UpdateDelivery(data: any) {
  return request({
    url: '/Wms_DeliveryListMaster/UpdateData',
    method: 'post',
    data,
  })
}

// 添加配送清单
export function AddDelivery(data: any) {
  return request({
    url: '/Wms_DeliveryListMaster/AddData',
    method: 'post',
    data,
  })
}

// 物资调拨管理列表
export function TransferOrderData(data: any) {
  return request({
    url: '/Wms_TransferOrderMaster/GetPageData',
    method: 'post',
    data,
  })
}

// 物资调拨详情
export function TransferOrderDetail(data: any) {
  return request({
    url: '/Wms_TransferOrderMaster/GetDetailPageData',
    method: 'post',
    data,
  })
}

// 删除物资调拨单
export function TransferOrderDel(data: any) {
  return request({
    url: '/Wms_TransferOrderMaster/DelData',
    method: 'post',
    data,
  })
}

// 编辑物资调拨单
export function UpdateTransferOrder(data: any) {
  return request({
    url: '/Wms_TransferOrderMaster/UpdateData',
    method: 'post',
    data,
  })
}

// 新增物资调拨单
export function AddTransferOrder(data: any) {
  return request({
    url: '/Wms_TransferOrderMaster/AddData',
    method: 'post',
    data,
  })
}

// 盘点单列表
export function CheckOrderData(data: any) {
  return request({
    url: '/Wms_CheckOrderMaster/GetPageData',
    method: 'post',
    data,
  })
}

// 盘点单详情
export function CheckOrderDetail(data: any) {
  return request({
    url: '/Wms_CheckOrderMaster/GetDetailPageData',
    method: 'post',
    data,
  })
}

// 删除盘点单
export function CheckOrderDel(data: any) {
  return request({
    url: '/Wms_CheckOrderMaster/DelData',
    method: 'post',
    data,
  })
}

// 编辑盘点单详情
export function UpdateCheckOrder(data: any) {
  return request({
    url: '/Wms_CheckOrderMaster/UpdateData',
    method: 'post',
    data,
  })
}

// 添加盘点单详情
export function AddCheckOrder(data: any) {
  return request({
    url: '/Wms_CheckOrderMaster/AddData',
    method: 'post',
    data,
  })
}

// 异常入库列表
export function DiffIncomeBillData(data: any) {
  return request({
    url: '/Wms_DiffIncomeBillMaster/GetPageData',
    method: 'post',
    data,
  })
}

// 异常入库详情
export function DiffIncomeBillDetail(data: any) {
  return request({
    url: '/Wms_DiffIncomeBillMaster/GetDetailPageData',
    method: 'post',
    data,
  })
}

// 删除异常入库
export function DiffIncomeBillDel(data: any) {
  return request({
    url: '/Wms_DiffIncomeBillMaster/DelData',
    method: 'post',
    data,
  })
}

// 编辑异常入库
export function UpdateDiffIncomeBill(data: any) {
  return request({
    url: '/Wms_DiffIncomeBillMaster/UpdateData',
    method: 'post',
    data,
  })
}

// 新增异常入库
export function AddDiffIncomeBill(data: any) {
  return request({
    url: '/Wms_DiffIncomeBillMaster/AddData',
    method: 'post',
    data,
  })
}

// 异常出库单列表
export function DiffOutboundBillData(data: any) {
  return request({
    url: '/Wms_DiffOutboundBillMaster/GetPageData',
    method: 'post',
    data,
  })
}

// 异常出库单详情
export function DiffOutboundBillDetail(data: any) {
  return request({
    url: '/Wms_DiffOutboundBillMaster/GetDetailPageData',
    method: 'post',
    data,
  })
}

// 删除异常出库单
export function DiffOutboundBillDel(data: any) {
  return request({
    url: '/Wms_DiffOutboundBillMaster/DelData',
    method: 'post',
    data,
  })
}

// 编辑异常出库单
export function UpdateDiffOutboundBill(data: any) {
  return request({
    url: '/Wms_DiffOutboundBillMaster/UpdateData',
    method: 'post',
    data,
  })
}

// 新增异常出库单
export function AddDiffOutboundBill(data: any) {
  return request({
    url: '/Wms_DiffOutboundBillMaster/AddData',
    method: 'post',
    data,
  })
}

// 查询领料凭证明细
export function SearchPickOrder(data: any) {
  return request({
    url: '/Wms_PickOrderMaster/GetPickDetailData',
    method: 'post',
    data,
  })
}

// 查询出库单明细
export function GetOutboundDetailDetail(data: any) {
  return request({
    url: '/Wms_OutboundBillMaster/GetOutboundDetailData',
    method: 'post',
    data,
  })
}

// 入库审核
export function IncomeBillExamine(data: any) {
  return request({
    url: '/Wms_IncomeBillMaster/InComeData',
    method: 'post',
    data,
  })
}

// 出库审核
export function OutboundExamine(data: any) {
  return request({
    url: '/Wms_OutboundBillMaster/OutboundData',
    method: 'post',
    data,
  })
}

// 调拨审核
export function TransExamine(data: any) {
  return request({
    url: '/Wms_TransferOrderMaster/TransData',
    method: 'post',
    data,
  })
}

// 盘点单审核
export function InventoryExamine(data: any) {
  return request({
    url: '/Wms_CheckOrderMaster/InventoryData',
    method: 'post',
    data,
  })
}

// 出入口管理记录数据
export function InOuStockData(data: any) {
  return request({
    url: '/Wms_InOuStock/GetPageData',
    method: 'post',
    data,
  })
}

// 删除出入口记录
export function InOuStockDel(data: any) {
  return request({
    url: '/Wms_InOuStock/delio',
    method: 'post',
    data,
  })
}

// 出入口记录详情
export function InOuStockDetail(data: any) {
  return request({
    url: '/Wms_InOuStock/getstockio',
    method: 'post',
    data,
  })
}

// 新增更新记录详情
export function savesioInOuStock(data: any) {
  return request({
    url: '/Wms_InOuStock/savesio',
    method: 'post',
    data,
  })
}

// 物资库存表
export function ItemStockData(data: any) {
  return request({
    url: '/Wms_ItemStock/GetPageData',
    method: 'post',
    data,
  })
}

// 异常入库单审核
export function DiffIncomeBillExamine(data: any) {
  return request({
    url: '/Wms_DiffIncomeBillMaster/DiffInComeData',
    method: 'post',
    data,
  })
}

// 异常出库单审核
export function DiffOutboundBillExamine(data: any) {
  return request({
    url: '/Wms_DiffOutboundBillMaster/DiffOutboundData',
    method: 'post',
    data,
  })
}

// 获取表头信息
export function gettableColumn(data: any) {
  return request({
    url: '/Base_TableColumn/gettable',
    method: 'post',
    data,
  })
}

// 退货单列表
export function ReturnItemBillData(data: any) {
  return request({
    url: '/Wms_ReturnItemBillMaster/GetPageData',
    method: 'post',
    data,
  })
}

// 删除退货单列表
export function ReturnItemBillDel(data: any) {
  return request({
    url: '/Wms_ReturnItemBillMaster/DelData',
    method: 'post',
    data,
  })
}

// 编辑退货单列表
export function UpdateReturnItemBill(data: any) {
  return request({
    url: '/Wms_ReturnItemBillMaster/UpdateData',
    method: 'post',
    data,
  })
}

// 新增退货单列表
export function AddReturnItemBill(data: any) {
  return request({
    url: '/Wms_ReturnItemBillMaster/AddData',
    method: 'post',
    data,
  })
}

// 退货单详情
export function ReturnItemBillDetail(data: any) {
  return request({
    url: '/Wms_ReturnItemBillMaster/GetDetailPageData',
    method: 'post',
    data,
  })
}

// 退库单列表
export function ReturnStockBillData(data: any) {
  return request({
    url: '/Wms_ReturnStockBillMaster/GetPageData',
    method: 'post',
    data,
  })
}

// 退库单详情
export function ReturnStockBillDetail(data: any) {
  return request({
    url: '/Wms_ReturnStockBillMaster/GetDetailPageData',
    method: 'post',
    data,
  })
}

// 删除退库单
export function ReturnStockBillDel(data: any) {
  return request({
    url: '/Wms_ReturnStockBillMaster/DelData',
    method: 'post',
    data,
  })
}

// 编辑退库单
export function UpdateReturnStockBill(data: any) {
  return request({
    url: '/Wms_ReturnStockBillMaster/UpdateData',
    method: 'post',
    data,
  })
}

// 新增退库单
export function AddReturnStockBill(data: any) {
  return request({
    url: '/Wms_ReturnStockBillMaster/AddData',
    method: 'post',
    data,
  })
}

// 流程初始化
export function startflow(data: any) {
  return request({
    url: '/WF_Instance/startflow',
    method: 'post',
    data,
  })
}

// 获取当前审核节点
export function getinstance(data: any) {
  return request({
    url: '/WF_Instance/getinstance',
    method: 'post',
    data,
  })
}

// 获取审核节点
export function auditwms(data: any) {
  return request({
    url: '/WF_Instance/auditwms',
    method: 'post',
    data,
  })
}

// 提交审核
export function excuteflow(data: any) {
  return request({
    url: '/WF_Instance/excuteflow',
    method: 'post',
    data,
  })
}

// 获取代办事项数据
export function TaskListData(data: any) {
  return request({
    url: '/WF_TaskList/DataBoardMsg',
    method: 'post',
    data,
  })
}

// 获取代办事项列表数据
export function GetTaskListData(data: any) {
  return request({
    url: '/WF_TaskList/GetPageData',
    method: 'post',
    data,
  })
}

// 获取审核记录
export function GetFlowLogList(data: any) {
  return request({
    url: '/WF_Instance/GetFlowLogList',
    method: 'post',
    data,
  })
}

// 我发起的流程列表
export function GetInstanceData(data: any) {
  return request({
    url: '/WF_Instance/GetPageData',
    method: 'post',
    data,
  })
}
//  获取库区管理列表
export function WHGetPageData(data: any) {
  return request({
    url: '/Wms_WareHouse_Storage/GetPageData',
    method: 'post',
    data,
  })
}

//  获取物资计划列表
export function Wms_planGetPageData(data: any) {
  return request({
    url: '/Wms_ItemPlanBillMaster/GetPageData',
    method: 'post',
    data,
  })
}

//  获取物资计划详情
export function Wms_planGetDetailPageData(data: any) {
  return request({
    url: '/Wms_ItemPlanBillMaster/GetDetailPageData',
    method: 'post',
    data,
  })
}

// 新增
export function Wms_planAddData(data: any) {
  return request({
    // url: '/Base_Department/TreeGridListJson',
    url: '/Wms_ItemPlanBillMaster/AddData',
    method: 'post',
    data,
  })
}

// 编辑
export function Wms_planUpdateData(data: any) {
  return request({
    // url: '/Base_Department/TreeGridListJson',
    url: '/Wms_ItemPlanBillMaster/UpdateData',
    method: 'post',
    data,
  })
}

// 删除
export function PlanDelData(data: any) {
  return request({
    // url: '/Base_Department/TreeGridListJson',
    url: '/Wms_ItemPlanBillMaster/DelData',
    method: 'post',
    data,
  })
}

// 审核
export function PlanInComeData(data: any) {
  return request({
    // url: '/Base_Department/TreeGridListJson',
    url: '/Wms_IncomeBillMaster/InComeData',
    method: 'post',
    data,
  })
}

// 审核
export function ItemPlanData(data: any) {
  return request({
    // url: '/Base_Department/TreeGridListJson',
    url: '/Wms_ItemPlanBillMaster/ItemPlanData',
    method: 'post',
    data,
  })
}

export function Wms_ItemPlanDown(data: any) {
  return request({
    url: '/Wms_ItemPlanBillMaster/ItemPlanExport',
    method: 'post',
    headers: { 'Content-Type': 'application/json; application/octet-stream' },
    responseType: 'arraybuffer',
    data,
  })
}
// 领料单列表
export function Wms_pickingbillData(data: any) {
  return request({
    url: '/Wms_PickingBillMaster/GetPageData',
    method: 'post',
    data,
  })
}
// 领料单添加
export function pickingbillAddData(data: any) {
  return request({
    url: '/Wms_PickingBillMaster/AddData',
    method: 'post',
    data,
  })
}

// 领料单编辑
export function pickingbillUpdateData(data: any) {
  return request({
    url: '/Wms_PickingBillMaster/UpdateData',
    method: 'post',
    data,
  })
}

// 领料单详情
export function pickingbillUpdateDetail(data: any) {
  return request({
    url: '/Wms_PickingBillMaster/GetDetailPageData',
    method: 'post',
    data,
  })
}

// 领料单打印详情
export function GetDetailPagePrintData(data: any) {
  return request({
    url: '/Wms_PickingBillMaster/GetDetailPagePrintData',
    method: 'post',
    data,
  })
}

// 领料单删除
export function pickingbillDelData(data: any) {
  return request({
    url: '/Wms_PickingBillMaster/DelData',
    method: 'post',
    data,
  })
}

// 领料单审核
export function pickingbillOutItem(data: any) {
  return request({
    url: '/Wms_PickingBillMaster/OutItem',
    method: 'post',
    data,
  })
}

// 数字字典列表
export function GetDataDictionaryDetailList(data: any) {
  return request({
    url: '/Base_DataDictionary/GetDataDictionaryDetailList',
    method: 'post',
    data,
  })
}

// 反审核
export function OutboundCancel(data: any) {
  return request({
    url: '/Wms_OutboundBillMaster/OutboundCancel',
    method: 'post',
    data,
  })
}

// 物资库存列表
export function WmsGetPageData02(data: any) {
  return request({
    url: '/Wms_ItemStock/GetPageData02',
    method: 'post',
    data,
  })
}

// 物资库存阈值
export function GetPageDataST(data: any) {
  return request({
    url: '/Wms_ItemStock/GetPageDataST',
    method: 'post',
    data,
  })
}

// 物资库存阈值详情
export function getst(data: any) {
  return request({
    url: '/Wms_ItemStock/getst',
    method: 'post',
    data,
  })
}

// 保存物资库存阈值详情
export function savest(data: any) {
  return request({
    url: '/Wms_ItemStock/savest',
    method: 'post',
    data,
  })
}

// 删除物资库存阈值详情
export function delst(data: any) {
  return request({
    url: '/Wms_ItemStock/delst',
    method: 'post',
    data,
  })
}

// 物资库存阈值列表
export function GetPageDataGroupItemStock(data: any) {
  return request({
    url: '/Wms_ItemStock/GetPageDataGroupItemStock',
    method: 'post',
    data,
  })
}

// 废旧物资交接凭证单列表
export function Wms_ScrapBillMasterData(data: any) {
  return request({
    url: '/Wms_ScrapBillMaster/GetPageData',
    method: 'post',
    data,
  })
}

// 删除废旧物资交接凭证单
export function DelDataScrapBillMaster(data: any) {
  return request({
    url: '/Wms_ScrapBillMaster/DelData',
    method: 'post',
    data,
  })
}

// 添加废旧物资交接凭证单
export function AddScrapBillMaster(data: any) {
  return request({
    url: '/Wms_ScrapBillMaster/AddData',
    method: 'post',
    data,
  })
}

// 废旧物资交接凭证单详情
export function ScrapBillMasterDetail(data: any) {
  return request({
    url: '/Wms_ScrapBillMaster/GetDetailPageData',
    method: 'post',
    data,
  })
}

// 编辑废旧物资交接凭证单
export function UpdateDataScrapBillMaster(data: any) {
  return request({
    url: '/Wms_ScrapBillMaster/UpdateData',
    method: 'post',
    data,
  })
}

// 入库单反审
export function InComeCancel(data: any) {
  return request({
    url: '/Wms_IncomeBillMaster/InComeCancel',
    method: 'post',
    data,
  })
}

// 导出
export function PickingExport(data: any) {
  return request({
    url: '/Wms_PickingBillMaster/PickingExport',
    method: 'post',
    headers: { 'Content-Type': 'application/json; application/octet-stream' },
    responseType: 'arraybuffer',
    data,
  })
}

// 入库单批量审核
export function InComeBatchData(data: any) {
  return request({
    url: '/Wms_IncomeBillMaster/InComeBatchData',
    method: 'post',
    data,
  })
}

// 发料单批量审核
export function OutboundBatchData(data: any) {
  return request({
    url: '/Wms_OutboundBillMaster/OutboundBatchData',
    method: 'post',
    data,
  })
}

// 盘点单批量审核
export function InventoryBatchData(data: any) {
  return request({
    url: '/Wms_CheckOrderMaster/InventoryBatchData',
    method: 'post',
    data,
  })
}

// 领料申请单判断是否审核完成
export function CheckPrint(data: any) {
  return request({
    url: '/Wms_PickingBillMaster/CheckPrint',
    method: 'post',
    data,
  })
}

// 图表数据
export function billchartdata(data: any) {
  return request({
    url: '/WF_TaskList/billchartdata',
    method: 'post',
    data,
  })
}

// 物资台账列表
export function GetPageDataItemTZ(data: any) {
  return request({
    url: '/Wms_ItemStock/GetPageDataItemTZ',
    method: 'post',
    data,
  })
}

// 存货盘点明细列表
export function GetPageDataItemPD(data: any) {
  return request({
    url: '/Wms_ItemStock/GetPageDataItemPD',
    method: 'post',
    data,
  })
}

// 首页弹出框物资预警值提醒列表
export function getyjzmsg(data: any) {
  return request({
    url: '/Wms_ItemStock/getyjzmsg',
    method: 'post',
    data,
  })
}

// 作业执行列表
export function QuartzLogData(data: any) {
  return request({
    url: '/Sys_QuartzLog/GetPageData',
    method: 'post',
    data,
  })
}

// 删除作业执行列表
export function delqlog(data: any) {
  return request({
    url: '/Sys_QuartzLog/delqlog',
    method: 'post',
    data,
  })
}

// 判断是否生成保障中心
export function OutboundCheckPrint(data: any) {
  return request({
    url: '/Wms_OutboundBillMaster/CheckPrint',
    method: 'post',
    data,
  })
}

// 更新保养时间
export function updateTime(data: any) {
  return request({
    url: '/Wms_ItemStock/savesertime',
    method: 'post',
    data,
  })
}

// 领料申请撤回流转中的订单
export function withdraw(data: any) {
  return request({
    url: '/WF_Instance/withdraw',
    method: 'post',
    data,
  })
}

// 物资阈值导出
export function ExportST(data: any) {
  return request({
    url: '/Wms_ItemStock/ExportST',
    method: 'post',
    headers: { 'Content-Type': 'application/json; application/octet-stream' },
    responseType: 'arraybuffer',
    data,
  })
}

// 作废
export function OutboundVoid(data: any) {
  return request({
    url: '/Wms_OutboundBillMaster/OutboundVoid',
    method: 'post',
    data,
  })
}

// 修改库位
export function tranwscode(data: any) {
  return request({
    url: '/Wms_ItemStock/tranwscode',
    method: 'post',
    data,
  })
}


// 新增PDA
export function PDAadd(data: any) {
  return request({
    url: '/PDA/pdaedit',
    method: 'post',
    data,
  })
}

// 删除PDA
export function PDAdelpda(data: any) {
  return request({
    url: '/PDA/delpda',
    method: 'post',
    data,
  })
}

// 作废领料申请单
export function ZFPickingVoid(data: any) {
  return request({
    url: '/Wms_PickingBillMaster/PickingVoid',
    method: 'post',
    data,
  })
}
// 物资盘点单导出
export function CheckOrderExport(data: any) {
  return request({
    url: '/Wms_CheckOrderMaster/CheckOrderExport',
    method: 'post',
    headers: { 'Content-Type': 'application/json; application/octet-stream' },
    responseType: 'arraybuffer',
    data,
  })
}
// 物资出入库图表数据
export function getpageASIN(data: any) {
  return request({
    url: '/Wms_InOuStock/getpageASIN',
    method: 'post',
    data,
  })
}

// 物资出入库汇总图表数据
export function getpageASIO(data: any) {
  return request({
    url: '/Wms_InOuStock/getpageASIO',
    method: 'post',
    data,
  })
}

// 图表数据
export function homebillchartdata(data: any) {
  return request({
    url: '/WF_TaskList/homebillchartdata',
    method: 'post',
    data,
  })
}

// 需求计划上报列表
export function planReportData(data: any) {
  return request({
    url: '/Wms_DemandPlanBillMaster/GetPageData',
    method: 'post',
    data,
  })
}

// 计划上报添加
export function planAddData(data: any) {
  return request({
    url: '/Wms_DemandPlanBillMaster/AddData',
    method: 'post',
    data,
  })
}

// 计划上报编辑
export function planUpdateData(data: any) {
  return request({
    url: '/Wms_DemandPlanBillMaster/UpdateData',
    method: 'post',
    data,
  })
}


// 计划上报单删除
export function planDelData(data: any) {
  return request({
    url: '/Wms_DemandPlanBillMaster/DelData',
    method: 'post',
    data,
  })
}

// 计划上报导出
export function PlanExport(data: any) {
  return request({
    url: '/Wms_DemandPlanBillMaster/DemandPlanExport',
    method: 'post',
    headers: { 'Content-Type': 'application/json; application/octet-stream' },
    responseType: 'arraybuffer',
    data,
  })
}

// 计划上报导出NEW
export function PlanExportNew(data: any) {
  return request({
    url: '/Wms_DemandPlanBillMaster/DemandPlanExportNEW',
    method: 'post',
    headers: { 'Content-Type': 'application/json; application/octet-stream' },
    responseType: 'arraybuffer',
    data,
  })
}

// 计划上报单详情
export function planDetail(data: any) {
  return request({
    url: '/Wms_DemandPlanBillMaster/GetDetailPageData',
    method: 'post',
    data,
  })
}

// 物资分类与属性规范列表
export function WmsItemCodeData(data: any) {
  return request({
    url: '/Wms_ItemCode_Apply/GetPageData',
    method: 'post',
    data,
  })
}

// 物资分类与属性规范新增
export function WmsItemCodeAdd(data: any) {
  return request({
    url: '/Wms_ItemCode_Apply/Save',
    method: 'post',
    data,
  })
}

// 物资分类与属性规范删除
export function DelItemCodeApply(data: any) {
  return request({
    url: '/Wms_ItemCode_Apply/DelItemCodeApply',
    method: 'post',
    data,
  })
}

// 物资分类与属性规范批量删除
export function BatchDelItemCodeApply(data: any) {
  return request({
    url: '/Wms_ItemCode_Apply/BatchDelItemCodeApply',
    method: 'post',
    data,
  })
}

// 物码申请列表
export function ItemCodeApplyMasterData(data: any) {
  return request({
    url: '/Wms_ItemCodeApplyMaster/GetPageData',
    method: 'post',
    data,
  })
}

// 物码申请添加
export function ItemCodeApplyMasterAdd(data: any) {
  return request({
    url: '/Wms_ItemCodeApplyMaster/AddData',
    method: 'post',
    data,
  })
}

// 物码申请详情
export function ItemCodeApplyMasterDetail(data: any) {
  return request({
    url: '/Wms_ItemCodeApplyMaster/GetDetailPageData',
    method: 'post',
    data,
  })
}

// 物码申请编辑
export function ItemCodeApplyMasterUpdateData(data: any) {
  return request({
    url: '/Wms_ItemCodeApplyMaster/UpdateData',
    method: 'post',
    data,
  })
}

// 物码申请删除
export function ItemCodeApplyMasterDelData(data: any) {
  return request({
    url: '/Wms_ItemCodeApplyMaster/DelData',
    method: 'post',
    data,
  })
}

// 物码申单导出
export function ItemCodeApplyExport(data: any) {
  return request({
    url: '/Wms_ItemCodeApplyMaster/ItemCodeApplyExport',
    method: 'post',
    headers: { 'Content-Type': 'application/json; application/octet-stream' },
    responseType: 'arraybuffer',
    data,
  })
}

// 成本中心
export function BinDingItemsJson(data: any) {
  return request({
    url: '/Base_DataDictionary/BinDingItemsJson',
    method: 'post',
    data,
  })
}


// 审核
export function AuditDemandPlan(data: any) {
  return request({
    url: '/Wms_DemandPlanBillMaster/AuditDemandPlan',
    method: 'post',
    data,
  })
}

// 反审核
export function Cancel_AuditDemandPlan(data: any) {
  return request({
    url: '/Wms_DemandPlanBillMaster/Cancel_AuditDemandPlan',
    method: 'post',
    data,
  })
}

// 物码审核
export function AuditItemCodeApply(data: any) {
  return request({
    url: '/Wms_ItemCodeApplyMaster/AuditItemCodeApply',
    method: 'post',
    data,
  })
}

// 物码反审核
export function Cancel_AuditItemCodeApply(data: any) {
  return request({
    url: '/Wms_ItemCodeApplyMaster/Cancel_AuditItemCodeApply',
    method: 'post',
    data,
  })
}

// 物资计划上报回填单号
export function EditERPNo(data: any) {
  return request({
    url: '/Wms_DemandPlanBillMaster/EditERPNo',
    method: 'post',
    data,
  })
}


// 物资计划上报查询预警值库存
export function stcheck(data: any) {
  return request({
    url: '/Wms_ItemStock/stcheck',
    method: 'post',
    data,
  })
}


// 物资分级目录列表
export function ItemPurchaseCategory(data: any) {
  return request({
    url: '/Wms_ItemPurchaseCategory/GetPageData',
    method: 'post',
    data,
  })
}

// 物资分级目录新增
export function PurchaseCategoryAdd(data: any) {
  return request({
    url: '/Wms_ItemPurchaseCategory/Save',
    method: 'post',
    data,
  })
}


// 物资分级目录删除
export function DelItemPurchaseCategory(data: any) {
  return request({
    url: '/Wms_ItemPurchaseCategory/DelItemPurchaseCategory',
    method: 'post',
    data,
  })
}

// 发料单导出
export function ExportOutBill(data: any) {
  return request({
    url: '/Wms_OutboundBillMaster/ExportOutBill',
    method: 'post',
    headers: { 'Content-Type': 'application/json; application/octet-stream' },
    responseType: 'arraybuffer',
    data,
  })
}

// 判断物资审核
export function checkispicking(data: any) {
  return request({
    url: '/Wms_PickingBillMaster/checkispicking',
    method: 'post',
    data,
  })
}

// 月结物资库存列表
export function GetCurrentStockQtyReport(data: any) {
  return request({
    url: '/Wms_InOuStock/GetCurrentStockQtyReport',
    method: 'post',
    data,
  })
}

// 月结物资库存导出
export function ExportCurrentStockQtyReport(data: any) {
  return request({
    url: '/Wms_InOuStock/ExportCurrentStockQtyReport',
    method: 'post',
    headers: { 'Content-Type': 'application/json; application/octet-stream' },
    responseType: 'arraybuffer',
    data,
  })
}

// 物资生命周期列表
export function GetLifeCycleReport(data: any) {
  return request({
    url: '/Wms_InOuStock/GetLifeCycleReport',
    method: 'post',
    data,
  })
}

// 物资生命周期导出
export function ExportLifeCycleReport(data: any) {
  return request({
    url: '/Wms_InOuStock/ExportLifeCycleReport',
    method: 'post',
    headers: { 'Content-Type': 'application/json; application/octet-stream' },
    responseType: 'arraybuffer',
    data,
  })
}

// 库房管理列表
export function StorekeeperData(data: any) {
  return request({
    url: '/Wms_Storekeeper/GetPageData',
    method: 'post',
    data,
  })
}

// 库房管理新增
export function StorekeeperSave(data: any) {
  return request({
    url: '/Wms_Storekeeper/Save',
    method: 'post',
    data,
  })
}

// 库房管理删除
export function DelSK(data: any) {
  return request({
    url: '/Wms_Storekeeper/DelSK',
    method: 'post',
    data,
  })
}

// sh
export function AduitOPCardData(data: any) {
  return request({
    url: '/JNZJ_OperatorCardMaster/AduitOPCardData',
    method: 'post',
    data,
  })
}

export function GetTZZYStatisticsReport(data: any) {
  return request({
    url: '/Base_OperatorCard/GetTZZYStatisticsReport',
    method: 'post',
    data,
  })
}









